/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package be.vdab.util;

/**
 *
 * @author Joris
 */
public enum Maat {
    centimeter("centimeter",1), decimeter("decimeter",10), meter("meter",100);
    
    private String eenheid;
    private int value;
    
    private Maat(String eenheid, int value) {
        this.eenheid = eenheid;
        this.value = value;
    }
    
    public String getEenheid(){
        return this.eenheid;
    }
    
    public int getValue(){
        return this.value;
    }
               
    @Override
    public String toString() {
        return getEenheid();
    }
}
